package com.egao.common.module.recommendation.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cj
 * @since 2025-04-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("directional_application_form")
@ApiModel(value="DirectionalApplicationForm对象", description="中南财经政法大学定向（非在职）毕业生网签申请表")
public class DirectionalApplicationForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "定向单位")
    @TableField("directional_workplace")
    private String directionalWorkplace;

    @ApiModelProperty(value = "拟签单位")
    @TableField("proposed_signing_workplace")
    private String proposedSigningWorkplace;

    @ApiModelProperty(value = "0-待提交 1-待审核 2-审核通过 3-审核不通过")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "审核时间")
    @TableField("review_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    @TableField("review_user")
    private Integer reviewUser;

    @TableField("review_comment")
    private String reviewComment;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除 0-否 1-是")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("姓名")
    private String xm;

    @ApiModelProperty("学号")
    private String xh;

    @ApiModelProperty("学院编码")
    @TableField("college_code")
    private String collegeCode;

    @ApiModelProperty("专业编码")
    @TableField(exist = false)
    private String majorCode;

    @ApiModelProperty("生成标识")
    @TableField("gen_flag")
    private Integer genFlag;

    @ApiModelProperty("存放地址")
    @TableField("rpt_url")
    private String rptUrl;

    @ApiModelProperty("学历")
    @TableField("degree")
    private String degree;

}
